package com.bpmn.system.domain.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author rain
 */
@Data
@Schema(description = "租户信息VO")
public class TenantForm {

    @Schema(description = "主键ID")
    private String id;

    @Schema(description = "租户名称")
    @NotBlank(message = "租户名称不能为空")
    private String name;

    @Schema(description = "租户AppID")
    @NotBlank(message = "租户AppID不能为空")
    private String appId;

    @Schema(description = "租户AppSecret")
    @NotBlank(message = "AppSecret不能为空")
    private String appSecret;

    @Schema(description = "管理员账号")
    @NotBlank(message = "管理员账号不能为空")
    private String adminUsername;

    @Schema(description = "管理员密码")
    @NotBlank(message = "管理员密码不能为空")
    private String adminPassword;

    @Schema(description = "状态（0停用 1正常）")
    private Integer status;

}